package com.dmgis.hndz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 市级预警产品表
 * @TableName ybba01b
 */
@TableName(value ="ybba01b")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Ybba01b implements Serializable {
    /**
     * ID号
     */
    @TableField(value = "ybba01b010")
    private String ybba01b010;

    /**
     * 预警产品类型
     */
    @TableField(value = "ybba01b020")
    private Integer ybba01b020;

    /**
     * 预警时间
     */
    @TableField(value = "ybba01b030")
    private LocalDateTime ybba01b030;

    /**
     * 四级预警区域
     */
    @TableField(value = "ybba01b040")
    private String ybba01b040;

    /**
     * 三级预警区域
     */
    @TableField(value = "ybba01b050")
    private String ybba01b050;

    /**
     * 二级预警区域
     */
    @TableField(value = "ybba01b060")
    private String ybba01b060;

    /**
     * 一级预警区域
     */
    @TableField(value = "ybba01b070")
    private String ybba01b070;

    /**
     * 四级预警地理范围
     */
    @TableField(value = "ybba01b080")
    private String ybba01b080;

    /**
     * 三级预警地理范围
     */
    @TableField(value = "ybba01b090")
    private String ybba01b090;

    /**
     * 二级预警地理范围
     */
    @TableField(value = "ybba01b100")
    private String ybba01b100;

    /**
     * 一级预警地理范围
     */
    @TableField(value = "ybba01b110")
    private String ybba01b110;

    /**
     * 预警文档路径
     */
    @TableField(value = "ybba01b120")
    private String ybba01b120;

    /**
     * 文本信息
     */
    @TableField(value = "ybba01b130")
    private String ybba01b130;

    /**
     * 解析后坐标串
     */
    @TableField(value = "ybba01b140")
    private Object ybba01b140;

    /**
     * 预警编号
     */
    @TableField(value = "ybba01b150")
    private Integer ybba01b150;

    /**
     * 预警内容
     */
    @TableField(value = "ybba01b160")
    private String ybba01b160;

    /**
     * 行政类型
     */
    @TableField(value = "ybba01b170")
    private String ybba01b170;

    /**
     * 市名称
     */
    @TableField(value = "ybba01b180")
    private String ybba01b180;

    /**
     * 时效
     */
    @TableField(value = "ybba01b035")
    private String ybba01b035;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Ybba01b other = (Ybba01b) that;
        return (this.getYbba01b010() == null ? other.getYbba01b010() == null : this.getYbba01b010().equals(other.getYbba01b010()))
            && (this.getYbba01b020() == null ? other.getYbba01b020() == null : this.getYbba01b020().equals(other.getYbba01b020()))
            && (this.getYbba01b030() == null ? other.getYbba01b030() == null : this.getYbba01b030().equals(other.getYbba01b030()))
            && (this.getYbba01b040() == null ? other.getYbba01b040() == null : this.getYbba01b040().equals(other.getYbba01b040()))
            && (this.getYbba01b050() == null ? other.getYbba01b050() == null : this.getYbba01b050().equals(other.getYbba01b050()))
            && (this.getYbba01b060() == null ? other.getYbba01b060() == null : this.getYbba01b060().equals(other.getYbba01b060()))
            && (this.getYbba01b070() == null ? other.getYbba01b070() == null : this.getYbba01b070().equals(other.getYbba01b070()))
            && (this.getYbba01b080() == null ? other.getYbba01b080() == null : this.getYbba01b080().equals(other.getYbba01b080()))
            && (this.getYbba01b090() == null ? other.getYbba01b090() == null : this.getYbba01b090().equals(other.getYbba01b090()))
            && (this.getYbba01b100() == null ? other.getYbba01b100() == null : this.getYbba01b100().equals(other.getYbba01b100()))
            && (this.getYbba01b110() == null ? other.getYbba01b110() == null : this.getYbba01b110().equals(other.getYbba01b110()))
            && (this.getYbba01b120() == null ? other.getYbba01b120() == null : this.getYbba01b120().equals(other.getYbba01b120()))
            && (this.getYbba01b130() == null ? other.getYbba01b130() == null : this.getYbba01b130().equals(other.getYbba01b130()))
            && (this.getYbba01b140() == null ? other.getYbba01b140() == null : this.getYbba01b140().equals(other.getYbba01b140()))
            && (this.getYbba01b150() == null ? other.getYbba01b150() == null : this.getYbba01b150().equals(other.getYbba01b150()))
            && (this.getYbba01b160() == null ? other.getYbba01b160() == null : this.getYbba01b160().equals(other.getYbba01b160()))
            && (this.getYbba01b170() == null ? other.getYbba01b170() == null : this.getYbba01b170().equals(other.getYbba01b170()))
            && (this.getYbba01b180() == null ? other.getYbba01b180() == null : this.getYbba01b180().equals(other.getYbba01b180()))
            && (this.getYbba01b035() == null ? other.getYbba01b035() == null : this.getYbba01b035().equals(other.getYbba01b035()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getYbba01b010() == null) ? 0 : getYbba01b010().hashCode());
        result = prime * result + ((getYbba01b020() == null) ? 0 : getYbba01b020().hashCode());
        result = prime * result + ((getYbba01b030() == null) ? 0 : getYbba01b030().hashCode());
        result = prime * result + ((getYbba01b040() == null) ? 0 : getYbba01b040().hashCode());
        result = prime * result + ((getYbba01b050() == null) ? 0 : getYbba01b050().hashCode());
        result = prime * result + ((getYbba01b060() == null) ? 0 : getYbba01b060().hashCode());
        result = prime * result + ((getYbba01b070() == null) ? 0 : getYbba01b070().hashCode());
        result = prime * result + ((getYbba01b080() == null) ? 0 : getYbba01b080().hashCode());
        result = prime * result + ((getYbba01b090() == null) ? 0 : getYbba01b090().hashCode());
        result = prime * result + ((getYbba01b100() == null) ? 0 : getYbba01b100().hashCode());
        result = prime * result + ((getYbba01b110() == null) ? 0 : getYbba01b110().hashCode());
        result = prime * result + ((getYbba01b120() == null) ? 0 : getYbba01b120().hashCode());
        result = prime * result + ((getYbba01b130() == null) ? 0 : getYbba01b130().hashCode());
        result = prime * result + ((getYbba01b140() == null) ? 0 : getYbba01b140().hashCode());
        result = prime * result + ((getYbba01b150() == null) ? 0 : getYbba01b150().hashCode());
        result = prime * result + ((getYbba01b160() == null) ? 0 : getYbba01b160().hashCode());
        result = prime * result + ((getYbba01b170() == null) ? 0 : getYbba01b170().hashCode());
        result = prime * result + ((getYbba01b180() == null) ? 0 : getYbba01b180().hashCode());
        result = prime * result + ((getYbba01b035() == null) ? 0 : getYbba01b035().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ybba01b010=").append(ybba01b010);
        sb.append(", ybba01b020=").append(ybba01b020);
        sb.append(", ybba01b030=").append(ybba01b030);
        sb.append(", ybba01b040=").append(ybba01b040);
        sb.append(", ybba01b050=").append(ybba01b050);
        sb.append(", ybba01b060=").append(ybba01b060);
        sb.append(", ybba01b070=").append(ybba01b070);
        sb.append(", ybba01b080=").append(ybba01b080);
        sb.append(", ybba01b090=").append(ybba01b090);
        sb.append(", ybba01b100=").append(ybba01b100);
        sb.append(", ybba01b110=").append(ybba01b110);
        sb.append(", ybba01b120=").append(ybba01b120);
        sb.append(", ybba01b130=").append(ybba01b130);
        sb.append(", ybba01b140=").append(ybba01b140);
        sb.append(", ybba01b150=").append(ybba01b150);
        sb.append(", ybba01b160=").append(ybba01b160);
        sb.append(", ybba01b170=").append(ybba01b170);
        sb.append(", ybba01b180=").append(ybba01b180);
        sb.append(", ybba01b035=").append(ybba01b035);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
